package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PshotnewstrueDao;
import com.bootdo.screen.domain.PshotnewstrueDO;
import com.bootdo.screen.service.PshotnewstrueService;



@Service
public class PshotnewstrueServiceImpl implements PshotnewstrueService {
	@Autowired
	private PshotnewstrueDao pshotnewstrueDao;
	
	@Override
	public PshotnewstrueDO get(Integer id){
		return pshotnewstrueDao.get(id);
	}
	
	@Override
	public List<PshotnewstrueDO> list(Map<String, Object> map){
		return pshotnewstrueDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return pshotnewstrueDao.count(map);
	}
	
	@Override
	public int save(PshotnewstrueDO pshotnewstrue){
		return pshotnewstrueDao.save(pshotnewstrue);
	}
	
	@Override
	public int update(PshotnewstrueDO pshotnewstrue){
		return pshotnewstrueDao.update(pshotnewstrue);
	}
	
	@Override
	public int remove(Integer id){
		return pshotnewstrueDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return pshotnewstrueDao.batchRemove(ids);
	}
	
}
